<template>
    <div class="check">
        <dialog-express-assignment :driver-id="driverId" :params-id="paramsId" @closeDialog="closeDialog"></dialog-express-assignment>
    </div>
</template>

<script>
    import DialogExpressAssignment from '../../components/dialogModel/ExpressAssignment.vue';
    export default {
        name: 'express-assignment-model',
        props: {
            params: {
                type: Object,
                default: () => {
                    return {}
                }
            },
            orderId: {
                type: Number
            }
        },
        components: {
            DialogExpressAssignment
        },
        data() {
            return {
                loading:false
            }
        },
        computed: {
            paramsId: function (value) {
                // return '96,95'
                // console.info(this.params.id);
                return this.params.id
            },
            driverId: function (value) {
                // return '96,95'
                // console.info(this.params.id);
                return this.params.driver_id
            }
        },
        created() {
            this.$emit('dialogTitle','订单指派');
        },
        methods: {
            closeDialog() {
                this.$emit('closeDialog');
            }
        }
    }
</script>

<style scoped>

</style>
